//
//  LXHomeTableViewCell.h
//  bgms_d
//
//  Created by Mountain on 24/2/2019.
//  Copyright © 2019 lachesis-zhu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZZCircleProgress.h"

@class LXHomeTableViewCell;

@protocol LXHomeTableViewCellDelegate <NSObject>

- (void)homeTableViewCell:(LXHomeTableViewCell *)cell btnDown:(UIView *)btn;

@end

NS_ASSUME_NONNULL_BEGIN

@interface LXHomeTableViewCell : UITableViewCell

@property (nonatomic, weak) id<LXHomeTableViewCellDelegate>delegate;
@property (nonatomic, weak) IBOutlet UIImageView *levelImage;
@property (nonatomic, weak) IBOutlet UILabel *levelLable;
@property (weak, nonatomic) IBOutlet UILabel *nowTempLabel;
@property (weak, nonatomic) IBOutlet UILabel *typeNameLabel;
@property (weak, nonatomic) IBOutlet UIImageView *typeImage;
@property (weak, nonatomic) IBOutlet UILabel *settingLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeAlertLabel;
@property (weak, nonatomic) IBOutlet UIImageView *tempMusImage;
@property (weak, nonatomic) IBOutlet UILabel *tempMusLabel;
@property (nonatomic, weak) IBOutlet UIView *timeView;
@property (nonatomic, weak) IBOutlet UIView *tempView;
@property (nonatomic, strong) ZZCircleProgress *timeCircle;
@property (nonatomic, strong) ZZCircleProgress *tempCircle;
@property (nonatomic, assign) CGFloat timeProgress;
@property (nonatomic, assign) CGFloat tempProgress;
@property (nonatomic, assign) BOOL tempDisable;
@property (nonatomic, assign) BOOL timeDisable;

- (void)clearHistory;

@end

NS_ASSUME_NONNULL_END
